package com.sateh.spaces.test;

import java.io.Serializable;

public class Donkey implements Serializable
{
    public enum Color { BROWN, GREY }

    private Color color;

    private String name;

    public Donkey(Color color, String name)
    {
        this.color = color;
        this.name = name;
    }

    public Donkey()
    {
    }

    public Color getColor()
    {
        return color;
    }

    public void setColor(Color color)
    {
        this.color = color;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
